<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<title>销售报价修改</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css"
			href="<%=request.getContextPath()%>/css/public.css">
		<script type="text/javascript"
			src="<%=request.getContextPath()%>/js/sorttable.js"></script>
		<script language="JavaScript"
			src="<%=request.getContextPath()%>/js/public.js"></script>
		<script language="JavaScript"
			src="<%=request.getContextPath()%>/js/baseset.js"></script>
		<script language="JavaScript"
			src="<%=request.getContextPath()%>/js/checkboxSelect.js"></script>
		<script language="JavaScript"
			src="<%=request.getContextPath()%>/js/date1.js"></script>
		<script language="JavaScript"
			src="<%=request.getContextPath()%>/js/sell.js"></script>
	</head>
	<body>
	<div id="info_all">
		<div id="info_top">
			<s:text name="销售报价修改" />
		</div>
		<!-- 主输入区 -->
		<!-- 功能按钮 -->
		<s:form action="sellPrice!add.action" theme="simple"
			cssStyle="margin-top:0px;" id="delrow">
			<div id="info_main">
				<!-- 单据栏 -->
				<div id="info_input">
					<hr>
					<table>
						<tr>
							<td width="74px">
								<s:text name=""></s:text>
								购货单位(*)
							</td>
							<td width="130px">
								<s:textfield name="pssp.customerId" size="12" id="sellOrderCode"></s:textfield>
								<a href="#"
									onclick="openWin('customer!select.action','selectStaff',800,600,0);return false;"
									onfocus="this.blur()"><img src="images/lookup.gif"> </a>
							</td>

							<td width="60px">
								编号(*)
							</td>
							<td width="100">
								<s:textfield name="pssp.sellPriceCode" size="12"
									id="sellPriceCode"></s:textfield>
							</td>

							<td width="60px">
								日期(*)
							</td>
							<td width="130px">
								<s:textfield name="pssp.createDate" size="12" 
									id="createDate" readonly="true" 
									onclick="calendar.setHook(this)"></s:textfield>
							</td>
							<td width="40px">
								币别
							</td>
							<td width="130px">
								<s:textfield name="pssp.currencyId" size="12" id="currencyId"></s:textfield>
								<a href="#"
									onclick="openWin('customer!select.action','selectStaff',800,600,0);return false;"
									onfocus="this.blur()"><img src="images/lookup.gif"> </a>
							</td>
						</tr>
						<tr>
							<td width="40px">
								汇率
							</td>
							<td width="130px">
								<s:textfield name="" size="12" id="accountRate" readonly="true"></s:textfield>
							</td>
							<td width="40px">
								部门
							</td>
							<td width="130px">
								<s:textfield name="pssp.departmentId" size="12"
									id="departmentId"></s:textfield>
								<a href="#"
									onclick="openWin('customer!select.action','selectStaff',800,600,0);return false;"
									onfocus="this.blur()"><img src="images/lookup.gif"> </a>
							</td>
							<td width="40px">
								主管
							</td>
							<td width="130px">
								<s:textfield name="pssp.managerId" size="12" id="managerId"></s:textfield>
								<input type="image"
									onclick="openWin('customer!select.action','selectStaff',800,600,0);return false;"
									onfocus="this.blur()" src="images/lookup.gif" />

							</td>
							<td width="60px">
								业务员
							</td>
							<td width="130px">
								<s:textfield name="pssp.businesserId" size="12"
									id="businesserId"></s:textfield>
								<a href="#"
									onclick="openWin('customer!select.action','selectStaff',800,600,0);return false;"
									onfocus="this.blur()"><img src="images/lookup.gif"> </a>
							</td>

						</tr>
					</table>
				</div>
				<div class="sele" style="text-align: left; padding-left: 10px;">
					<input type="button" value="新增" onClick="addRowOfSellpricedetail()"
						onfocus="this.blur()" onMouseOver="this.className='btnover'"
						onmouseout="this.className='btnout'" class="btnsize" />
					<input type="reset" value="删除"
						onClick="deleteRowOfSellpricedetail()" onFocus="this.blur()"
						onMouseOver="this.className='btnover'"
						onmouseout="this.className='btnout'" class="btnsize" />
					<hr>
				</div>
				<!-- 信息显示栏 -->
				<div id="info_info4">
					<table id="info_table" width="1040px" cellspacing=1px
						cellpadding=1px class="sortable">
						<thead id="head">
							<tr>
								<th>
									<input name="checkbox" type="checkbox" onClick="selectAll()" />
								</th>
								<th width="95px">
									产品代码(*)
								</th>
								<th width="80px">
									产品名称
								</th>
								<th width="80px">
									规格型号
								</th>
								<th width="80px">
									辅助属性
								</th>

								<th width="70px">
									单位(*)
								</th>
								<th width="80px">
									数量段(从)
								</th>
								<th width="80px">
									数量段(到)
								</th>
								<th width="70px">
									单价
								</th>
								<th width="80px">
									含税单价
								</th>
								<th width="70px">
									税率
								</th>
								<th width="70px">
									折扣率
								</th>
								<th width="120px">
									实际含税单价
								</th>
								<th width="70px">
									备注
								</th>

							</tr>
						</thead>
						<tbody id="mbody">

						</tbody>
						<tfoot>
							<tr>
							</tr>
						</tfoot>
					</table>
					<script language="javascript">
						//("表格名称","奇数行背景","偶数行背景","点击后背景");
						 mouseclick("info_table","#ffffff","#ffffff","#e6f0fd");
						 //("表格名称","奇数行背景","偶数行背景");
						 //setcolor("t","#ffffff","#ffffff");
					</script>
				</div>
				<div style="margin: 6px; text-align: center;">
					<s:submit value="提交"></s:submit>
					<input type="submit" value="保存" 
						onFocus="this.blur()" onMouseOver="this.className='btnover'"
						onmouseout="this.className='btnout'" class="btnsize" />
						
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					
					<input type="button" value="复制" onClick="showPHiRPList()"
						onFocus="this.blur()" onMouseOver="this.className='btnover'"
						onmouseout="this.className='btnout'" class="btnsize" />
					
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					
					<input type="button" value="退出" onclick="javascript:history.go(-1)"
						onFocus="this.blur()" onMouseOver="this.className='btnover'"
						onmouseout="this.className='btnout'" class="btnsize" />
				</div>
			</div>
		</s:form>
	</div>
	</body>
</html>
